const express = require("express")
const router = express.Router()
const ejs = require("ejs")




router.get("/index", (req, res) => {

    ejs.renderFile("./views/index.ejs", { title: ["我", "喜欢", "你"] }, (err, html) => {
        if (err) throw err;
        res.send(html)
    })



})







module.exports = router








